package com.bestescortbedsystem.dao;

import com.bestescortbedsystem.entity.SesUserRole;
import com.bestescortbedsystem.entity.SesUserRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SesUserRoleDao {
    long countByExample(SesUserRoleExample example);

    int deleteByExample(SesUserRoleExample example);

    int deleteByPrimaryKey(Long roleid);

    int insert(SesUserRole record);

    int insertSelective(SesUserRole record);

    List<SesUserRole> selectByExample(SesUserRoleExample example);

    SesUserRole selectByPrimaryKey(Long roleid);

    int updateByExampleSelective(@Param("record") SesUserRole record, @Param("example") SesUserRoleExample example);

    int updateByExample(@Param("record") SesUserRole record, @Param("example") SesUserRoleExample example);

    int updateByPrimaryKeySelective(SesUserRole record);

    int updateByPrimaryKey(SesUserRole record);
}